﻿using MongoDB.Driver;
using MongoDB.Driver.Builders;
using System;
using System.Collections.Generic;

namespace HBase {
    [Serializable]
    public class MongoPageDto :PageDto {
        public virtual List<IMongoQuery> getRestrict() {
            List<IMongoQuery> queryList = new List<IMongoQuery>();
            return queryList;
        }

        public virtual SortByBuilder getOrder() {
            SortByBuilder b = new SortByBuilder();
            b.Descending("_id");
            return b;
        }
    }
}
